zz_

shoes.ts

thoward37@gmail.com/shoes[add-python-implementation-then-update] / shoes.ts @ bd0bbe5e Download
Ladder Summary
  • file This file defines and exports a constant `shoes` object that tracks whether the shoes are tied via a boolean `isTied` property, and provides `tie` and `untie` methods to set `isTied` to `true` or `false` respectively.
export const shoes = {
  isTied: false,
  tie() {
    this.isTied = true;
  },
  untie() {
    this.isTied = false;
  },
};